package cn.jhz.learn.blog.service.security.permission;

import cn.jhz.learn.blog.po.account.AccountUser;
import cn.jhz.learn.blog.vo.securiity.Login;
import cn.jhz.learn.blog.vo.securiity.Register;
import org.jose4j.lang.JoseException;

import javax.servlet.http.HttpServletResponse;

public interface UserService {
    public void addOnlineUser(Login userInfo, HttpServletResponse reponse) throws JoseException;

    public void addUser(Register userInfo);

    public AccountUser getUserByLoginId(String loginId);
}
